<div class="<?php echo $this->config->get('amazon_slideshow_width')?> amazonSlideshow" style="height: <?php echo $this->config->get('amazon_slideshow_height')?>px;">
    <div id="mi-slider" class="mi-slider">
    	
    <?php if(!empty($banners)){
   		foreach($banners as $valueBanners){ ?>
	   		<ul>
	   			<?php if($valueBanners){
	   				foreach($valueBanners as $banner){
	   						$class=(count($valueBanners)==1)?"fullImg":"";
	   				 ?>
	   						 <li class="<?php echo $class; ?>">
	   						 	<a href="<?php echo $banner['link']; ?>">
	   						 		<img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>">
	   						 		<h4><?php echo $banner['title']; ?></h4>
	   						 	</a>
	   						 </li>
	   				<?php }
	   			}?>
	           </ul>
   		<?php }
   	} ?>
   	
      <nav>
	    <?php if(!empty($bannersTitle)){
    		foreach($bannersTitle as $bannerTitle){ ?>
    			<a href="#"><?php echo $bannerTitle; ?></a>
    			<?php }
    		}?>
        </nav>
    </div>
</div>